import {reactive} from 'vue'
import { defineStore } from 'pinia'
export const useStore = defineStore('store', () => {
    const auth = reactive({
        user: null,
    })

    const learn = reactive({
        wordLists: null,
        currentSchedule: null
    })

    const revise = reactive({
        needToRevise:null,
        doneRevise:[],
    })
    return { auth ,learn,revise}
})